package cn.wangzg.course0902;

/**
 * Time: 2020/4/16
 * Author: wangzhiguo
 * Description: 功能描述
 */
public class Music {
    private String song_id;//歌曲id
    private String title;//歌名
    private int album_id;//专辑id
    private String album_title;//专辑名称
    private int file_duration;//时长
    private String artist_name;//歌手，艺术家
    private String url;//路径，位置，网络歌曲，网址
    private boolean local;//是否为本地歌曲

    public String getSong_id() {
        return song_id;
    }

    public void setSong_id(String song_id) {
        this.song_id = song_id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public int getAlbum_id() {
        return album_id;
    }

    public void setAlbum_id(int album_id) {
        this.album_id = album_id;
    }

    public String getAlbum_title() {
        return album_title;
    }

    public void setAlbum_title(String album_title) {
        this.album_title = album_title;
    }

    public int getFile_duration() {
        return file_duration;
    }

    public void setFile_duration(int file_duration) {
        this.file_duration = file_duration;
    }

    public String getArtist_name() {
        return artist_name;
    }

    public void setArtist_name(String artist_name) {
        this.artist_name = artist_name;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public boolean isLocal() {
        return local;
    }

    public void setLocal(boolean local) {
        this.local = local;
    }

    @Override
    public String toString() {
        return "Music{" +
                "song_id='" + song_id + '\'' +
                ", title='" + title + '\'' +
                ", album_id='" + album_id + '\'' +
                ", album_title='" + album_title + '\'' +
                ", file_duration=" + file_duration +
                ", artist_name='" + artist_name + '\'' +
                ", url='" + url + '\'' +
                ", local=" + local +
                '}';
    }
}
